Better sorting

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Pager improvement

Signed-off-by: Timothy Gu <timothygu99@gmail.com>