This is what I want to do: I have a webstore which contains various products. Against each product I want to add the "facebook like" bookmarking function.

What I then would like to do is allow users to sort products by the number of "facebook likes".

Is this a feasible possibility and if so how would you best accomplish it?

I know that you can add the facebook like function direct, or you could use something like "add this" - would either / both provide a possible solution to do this?

What would your suggestions be?