Added sorting

Also added the exactString data type to ApiSpec and made the back button
work.