ticket sorting
some basic formatting and deviseinvitable