Added sorting function to mandat's table
Returned to originally names. Deleted one unused js-file.
Moved to lib folder