Database Search Priority Coding

Hi, I was wondering if it is possible to code using JavaScript on a wix website to give search priority to data entered into a database from a user input. For example, data is entered from one user input element (input A) into a database and data is entered from a different user input element (input B) into that same database. Would it be possible if both the inputs have the same search criteria, to make it so say input B comes up before input A in a repeater with a search functionality?
Thanks
code #search #easy

Not javascript, but Corvid sure:
https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html

Thanks @skmedia , I’ll try that out.