question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

order not applying correctly

See original GitHub issue

Bug Report

Describe the bug

Using the order key in the .mdx file doesn’t correctly reorder the menu items.

To Reproduce

  1. Go to https://github.com/valtech-nyc/brookjs/pull/201
  2. Clone the repository
  3. Run yarn && yarn docs:dev
  4. Open browser & verify menu order

Expected behavior

Menu should be reordered by order key.

Enviroment

  • OS: OSX 10.13.5
  • Node/npm version: Node 10.3.0/npm 6.1.0/yarn 1.7.0

Additional context/Screenshots

brookjs

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mAAdhaTTahcommented, Jul 2, 2018

Yeah… it def feels backwards that order 1, 2, 3 shows up as:

  • 3
  • 2
  • 1

in the menu (hence me opening this issue in the first place).

0reactions
mAAdhaTTahcommented, Jul 4, 2018

This is fixed, so closing, although I do believe this should be the default behavior going forward.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sql - ORDER BY not working correctly on calculated column?
SQL tables represent unordered sets. There is no ordering unless you specify an ORDER BY clause. So, if you want to see them...
Read more >
10 common problems with order picking...and how to solve them
Orders that are only half-picked are generally put back if the remaining items are not available, and fulfilment is postponed. Doing this leads...
Read more >
Sort not working the way its supposed to. - Microsoft Community
If it looks like the data did not sort properly, refer to the following list of possible solutions: • Make sure no hidden...
Read more >
Product sorting order is not working correct - WordPress.org
Product sorting is not working correctly. In my WordPress dashboard, under “All products” menu item. I sorted products based on price in ASC...
Read more >
Why is My Promo Code is Not Applying to My Order Correctly?
Free shipping promotions are valid exclusively for orders with Standard Shipping in the continental US only (Lower 48 States). Our % off discount...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found