Add link to list after upload, added sorting to list, refactor logically...

Add link to list after upload, added sorting to list, refactor logically and performance