Basic sort.

Uses ransack.