Fix bug: rides not sorted correctly