forked from gitea/gitea
		
	 c40f5d2d4c
			
		
	
	
		c40f5d2d4c
		
	
	
	
	
		
			
			The backend SearchRepositoryByName function supports several sort order
options, hook these up to the /repos/search API.
New parameters for /repos/search:
    'sort':  alpha, created, updated, size, or id
    'order': asc or desc
'sort' defaults to alpha.
'order' defaults to ascending, and is ignored if 'sort' is not specified.
The overall default behavior is unchanged (alphabetically ascending).
This partially implements issue #3963
Signed-off-by: Allen Wild <allenwild93@gmail.com>