Adds Badge sorting functionality, removes dynatable from badge table