Implement hints for sort direction

This was done then reverted and is now done properly using knockout