Adding stylesheet and script for functionality (forgot last time). Changed flow to be synchronous to allow for sorting client-side. Sorting implemented.