Company page - Sorting logic gives random results every time table is sorted
446

Hi @administrators @1337c0d3r

Issue - https://leetcode.com/company/facebook/ sorting by difficulty give random order of problem # numbers.

Description - In the company page, I usually sort by difficulty Hard-Medium-Easy and solve through one by one before interview.

But when I refresh page, and sort by difficulty again, order of elements is not same. This make very inconvenience to keep track of the problems I have solve so far.

Is there any solution for this I might not aware of?

If not, can you please add a simple logic to keep the problem sorted by problem number when I click on any other category?

For example:
1 - Problem A - Hard
2 - Problem B - Medium
3 - Problem C - Medium
4 - Problem A - Hard

Click sort by difficulty
1 - Problem A - Hard
4 - Problem D - Hard
2 - Problem B - Medium
3 - Problem C - Medium

This is sorted by difficult also problem number. Thanks

Comments (1)